package com.jy.api.dao;

import com.jy.api.domain.ProductSales;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface ProductSalesDao extends CrudRepository<ProductSales,Integer> {


    ProductSales findByProductId(String productId);


    List<ProductSales> findAllByProductIdIn(List<String> productId);







}
